package org.jeecg.modules.demo.baseselforder.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.baseselforder.entity.BaseSelfOrder;

import java.util.Map;

/**
 * @Description: 自提订单
 * @Author: jeecg-boot
 * @Date: 2022-01-27
 * @Version: V1.0
 */
public interface BaseSelfOrderMapper extends BaseMapper<BaseSelfOrder> {

    IPage<Map<String, Object>> listSelfOrder(Page<Map<String, Object>> page, @Param("storeId") String storeId, @Param("memberName") String memberName
            , @Param("orderCode") String orderCode, @Param("memberPhone") String memberPhone, @Param("startDate") String startDate, @Param("endDate") String endDate, @Param("status") String status);

    IPage<Map<String, Object>> listSelfOrder2(Page<Map<String, Object>> page, @Param("storeId") String storeId, @Param("memberName") String memberName
            , @Param("orderCode") String orderCode, @Param("memberPhone") String memberPhone, @Param("startDate") String startDate, @Param("endDate") String endDate, @Param("status") String status);

}
